package org.ithang.tools.redis;

public final class Keys {

	/**
	 * 用户session信息
	 */
	public final static String UserSession="current_user_session_info";
	
	/**
	 * 定时任务开关
	 */
	public final static String ScheduleRun="schedule_run";
	
	//登陆验证码key头，登陆前要验证
	public final static String LoginTCode="login_tcode_%s";
	
	//短信验证码key头，存放手机验证码
	public final static String SmsCode="sms_code_%s";
	
	public final static String Charge="charge";//平台手续费key
	
	public final static String Addr="addr";//平台平台钱包地址
	
	public final static String VerifyURL="verify_url";//平台交易验证地址
	
	public final static String Gas="gas";//发gas的数量
	
	public final static String GasBalance="gas_balance";//余额达到多少后可发gas
	
	public final static String TestDev="testdev";//是否开启开发测试
	
	public final static String IsStaticBonus="is_static_bonus";//是否静态分润 0否，1是
	
	public final static String IsTeamBonus="is_team_bonus";//是否加速分润 0否，1是
	
	public final static String IsAddTeamBonus="is_addteam_bonus";//是否动态分润 0否，1是
	
	public final static String StaticBonusRate="static_bonus";//静态分润利息
	
	
	public final static String KAddr="k_addr";//矿工费地址
	public final static String KPrikey="k_prikey";//矿工费私钥
	public final static String CUAddr="cu_addr";//出金地址
	public final static String RUAddr="ru_addr";//入金地址
	
	public final static String MinRecharge="min_recharge";//最小充值
	public final static String MinWithdraw="min_withdraw";//最小提币
	
	public static String format(String temp,Object ...values){
		return String.format(temp, values);
	}
}
